package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;
import java.math.BigDecimal;

public interface FeaturestandardDAO extends JpaDao<Featurestandard> {

	public Featurestandard findFeaturestandardById(Integer id) throws DataAccessException;

	public Featurestandard findFeaturestandardById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardByName(String name) throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardByNameContaining(String name_1) throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardByMax(BigDecimal max) throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardByMax(BigDecimal max, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardByMin(BigDecimal min) throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardByMin(BigDecimal min, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardByDescription(String description) throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardByDescriptionContaining(String description_1)
			throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardByDescriptionContaining(String description_1, int startResult,
			int maxRows) throws DataAccessException;

	public Featurestandard findFeaturestandardByPrimaryKey(Integer id) throws DataAccessException;

	public Featurestandard findFeaturestandardByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardsByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Featurestandard> findAllFeaturestandards() throws DataAccessException;

	public Set<Featurestandard> findAllFeaturestandards(int startResult, int maxRows) throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardsByFeature(Integer featureId, int start, int max);

	public Set<Featurestandard> findFeaturestandardsByStandard(Integer standardId, int start, int max);

	public Set<Featurestandard> findFeaturestandardsByUnit(Integer unitId, int start, int max);

	public Set<Featurestandard> findFeaturestandardByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Featurestandard> findFeaturestandardsByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Featurestandard findFeaturestandardByPhysicalPrimaryKey(Integer unitId, Integer standardId,
			Integer featureId) throws DataAccessException;

	public Featurestandard findFeaturestandardByPhysicalPrimaryKey(Integer unitId, Integer standardId,
			Integer featureId, int startResult, int maxRows) throws DataAccessException;
}
